import Vue from 'vue'
import Router from 'vue-router'
import HomeView from '@/components/home'
import MemberView from '@/components/member'
import SeoView from '@/components/search'
import ShopCarView from '@/components/shopcar'

Vue.use(Router)

export default new Router({
	routes: [
		{
			path:'/',
			redirect:'/home'
		},
		{
			path: '/home',
			component: HomeView
		},
		{
			path: '/member',
			component: MemberView
		},
		{
			path: '/search',
			component: SeoView
		},
		{
			path: '/shopcar',
			component: ShopCarView
		}
	],
	linkActiveClass: 'mui-active'
})
